package com.huitu.whht.base.core.api.wr.wfz.entities;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.huitu.whht.api.core.common.base.BaseEntity;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import java.time.LocalDateTime;

/**
 * 说明: 水功能区界碑基本信息表实体类,表名称: WR_WFZ_STEL_B <br/>
 * 日期: 2019-04-11
 * @author LiuCW
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WrWfzStelB extends  BaseEntity {

private static final long serialVersionUID = 4L;

    /**
      * 水功能区界碑代码
      */
    private String wfzStelCd;
    /**
      * 水功能区界碑名称
      */
    private String wfzStelNm;
    /**
      * 上游水功能区代码
      */
    private String upWfzCd;
    /**
      * 下游水功能区代码
      */
    private String downWfzCd;
    /**
      * 立碑时间
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime stelTm;
    /**
      * 立碑单位
      */
    private String stelOrg;
    /**
      * 时间戳
      */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime ts;
    /**
      * 备注
      */
    private String nt;
}